﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name=”renderer” content=”webkit|ie-comp|ie-stand”/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <link rel="icon" href="/favicon.ico">

    <link href="/module/style/lr-common.css" rel="stylesheet"/>
    <title>配置模型告警通知范围</title>
    <link href="/assets/plugins/font/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/content/scripts/jquery/bootstrap.min.css" rel="stylesheet">

    <link href="/module/plugin/scroll/scroll.css" rel="stylesheet"/>
    <link href="/module/style/lr-iframe-form.css" rel="stylesheet"/>
    <link href="/module/plugin/wizard/wizard.css" rel="stylesheet"/>
    <link href="/module/plugin/tree/lr-tree.css" rel="stylesheet"/>
    <link href="/module/plugin/select/lr-select.css" rel="stylesheet"/>

    <link href="/module/plugin/timeline/lr-timeline.css" rel="stylesheet"/>
    <link href="/module/plugin/formselect/lr-formselect.css" rel="stylesheet"/>
    <link href="/module/plugin/inputsearch/lr-isearch.css" rel="stylesheet"/>
    <link href="/module/plugin/grid/jfgrid.css" rel="stylesheet"/>
    <link href="/module/plugin/uploader/lr-uploader.css" rel="stylesheet"/>
    <link href="/module/plugin/workflow/lr-workflow-ui.css" rel="stylesheet"/>

    <link href="form.css" rel="stylesheet"/>


    <script src="/content/scripts/jquery/jquery-3.3.1.min.js"></script>
    <script src="/content/scripts/jquery/bootstrap.min.js"></script>
    <script src="/module/cron-selector.js"></script>

    <script src="/assets/plugins/datepicker/WdatePicker.js"></script>

    <!--[if lt IE 9]>
    <script src="/assets/plugins/bootstrap/html5shiv.min.js"></script>
    <script src="/assets/plugins/bootstrap/respond.min.js"></script>
    <![endif]-->
    <script>
        function request(d) {
            for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) {
                var b = c[a].split("=");
                if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1])
            }
            return ""
        };

    </script>
    <style type="text/css">
        select {
            float: none;
            display: inline;
        }

        .lr-select {
            height: 33PX;
            line-height: 32PX;
        }

    </style>


</head>
<body class="Chrome 64.0 lr-uitheme-top">
<div id="lr_form_bg" class="lr-form-bg">
</div>

<div class="widget-body">
    <div id="wizard" class="wizard" data-target="#wizard-steps">
        <ul class="steps">
            <li data-target="#step-1" class="active"><span class="step">1</span>基本配置<span class="chevron"></span>
            </li>
            <li data-target="#step-2"><span class="step">2</span>权限设置<span class="chevron"></span></li>
        </ul>
    </div>
    <div class="step-content" id="wizard-steps">
        <div class="step-pane step-pane-base active" id="step-1">
            <div class="lr-alert">
                <div class="alert alert-danger">
                    <i class="fa fa-warning alert-dismissible"></i>
                    设置模型告警通知频次！
                </div>
            </div>
            <div class="panel panel-default lr-panel">
                <div class="panel-heading">
                    <h3 class="panel-title">模型基本信息配置</h3>
                </div>
                <div class="panel-body">
                    <input id="modelId" type="hidden"/>
                    <div class="col-xs-10 lr-form-item" style="top:15px;">
                        <div class="lr-form-item-title">是否预警</div>
                        <div class="checkbox">
                            <label>
                                <input id="warnNeed" type="checkbox" checked="checked"/>
                                是
                            </label>
                        </div>
                    </div>
                    <div class="col-xs-10 lr-form-item" style="top:52px;">
                        <div class="lr-form-item-title">默认年份<font face="宋体">*</font></div>
                        <div id="defaultKjnd" isvalid="yes" checkexpession="NotNull"></div>
                    </div>
                    <div class="col-xs-10 lr-form-item" style="top:91px;">
                        <div class="lr-form-item-title">cron<font face="宋体">*</font></div>
                        <input id="cronExpression" name="cronExpression" type="text" class="form-control"
                               placeholder="定时任务" isvalid="yes"
                               checkexpession="NotNull"/>
                    </div>
                    <div class="col-xs-10 lr-form-item" style="top:129px;">
                        <div class="lr-form-item-title">整改期间<font face="宋体">*</font></div>
                        <input id="rectifyPeriod" type="number" class="form-control" value="30" placeholder="整改期间"
                               isvalid="yes" checkexpession="NotNull"/>
                        <span style="float: right;margin-top: -26px;margin-right: 30px;">天</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="step-pane" id="step-2" style="padding:5px;padding-top:40px;">
            <div style="position:absolute;height:40px;width:100%;left:0;top:0;">
                <div class="col-xs-12 lr-form-item" style="padding:0px;padding-left:10px;padding-top: 8px;">
                    <div class="radio">
                        <label>
                            <input name="authorizeType" id="authorizeType1" type="radio" value="1" />
                            所有成员
                        </label>
                        <label>
                            <input name="authorizeType" id="authorizeType2" type="radio" value="2" checked="checked"/>
                            指定成员
                        </label>
                    </div>
                </div>

            </div>
            <div style="position:relative;width:100%;height:100%;border:1px solid #ddd;padding-bottom:30px;">
                <div style="bottom:0;border-bottom:0px;border-top:1px solid #ddd;position: absolute;left: 0;width: 100%;height: 30px;line-height: 29px;background-color: #F5F5F5;border-bottom: 1px solid #ddd;text-align: right;padding-right: 10px;font-weight: bold;color: #676a6c;">
                    <div class="lr-form-jfgrid-btns">
                        <a id="lr_post_authorize" class="btn btn-success"><i class="fa fa-graduation-cap"></i>&nbsp;添加岗位</a>
                        <a id="lr_role_authorize" class="btn btn-info"><i class="fa fa-paw"></i>&nbsp;添加角色</a>
                        <a id="lr_user_authorize" class="btn btn-primary"><i class="fa fa-user"></i>&nbsp;添加人员</a>

                        <a id="lr_delete_authorize" class="btn btn-danger"><i class="fa fa-trash-o"></i>&nbsp;移除</a>
                    </div>
                </div>
                <div id="authorize_girdtable"></div>
                <div id="shcemeAuthorizeBg"
                     style="z-index:10;position:absolute;left:0;top:0;width:100%;height:100%;background:#000;filter:alpha(opacity=10); opacity: 0.1;"></div>
            </div>
        </div>
    </div>

    <div class="lr-form-bottom-button" id="wizard-actions">
        <a id="btn_prev" class="btn btn-default btn-prev" disabled>上一步</a>
        <a id="btn_next" class="btn btn-default btn-next">下一步</a>
        <a id="btn_finish" class="btn btn-success" disabled>保存</a>
    </div>
</div>


<script src="form.js"></script>

<script src="/module/config.js"></script>
<script src="/module/plugin/resize/resize.js"></script>
<script src="/module/plugin/mousewheel/mousewheel.js"></script>
<script src="/module/plugin/scroll/scroll.js"></script>
<script src="/module/plugin/tree/lr-tree.js"></script>
<script src="/module/plugin/select/lr-select.js"></script>
<script src="/module/plugin/timeline/lr-timeline.js"></script>
<script src="/module/plugin/formselect/lr-formselect.js"></script>
<script src="/module/plugin/date/lr-datepicker.js"></script>
<script src="/module/plugin/grid/jfgrid.js"></script>
<script src="/module/plugin/wizard/wizard.js"></script>
<script src="/module/script/lr-validator.js"></script>
<script src="/module/script/lr-authorize.js"></script>
<script src="/module/script/lr-form.js"></script>

<script src="/module/plugin/inputsearch/lr-isearch.js"></script>
<script src="/module/plugin/workflow/lr-workflow-ui.js"></script>

<script>
    var lrModuleButtonList;
    var lrModuleColumnList;
    var lrModule;
    $.lrToken = config.getToken().access_token;
    $(function () {
        $('#lr_form_bg').fadeOut();
        $('#form').lrscroll();


        if (!!window.bootstrap) {
            bootstrap(jQuery, top.learun);
        }
        $("#cronExpression").cronSelector();
    });

</script>
</body>
</html>
